//
//  RMLVisitorController.swift
//  weibo
//
//  Created by blue on 16/4/18.
//  Copyright © 2016年 blue. All rights reserved.
//

import UIKit

class RMLVisitorController: UITableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        setNav()
    }

//MARK: - 设置导航栏
    private func setNav(){
    
        navigationItem.leftBarButtonItem = UIBarButtonItem(title: "注册", style: UIBarButtonItemStyle.Plain, target: self, action: "login")
    
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "登录", style: UIBarButtonItemStyle.Plain, target: self, action: "login")
    }
    
//MARK: - login事件
 @objc private func login(){
    
    }

}
